package com.summarecon.qualitycontrol;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class AddDetailActivity extends Activity{
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
 		setContentView(R.layout.activity_add_detail);
 		
 		Button btnNo = (Button)findViewById(R.id.noDetail);  
 		btnNo.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View arg0) {
				Intent myIntent = new Intent(getBaseContext(), MenuActivity.class);
				startActivity(myIntent);
				finish();
			}
		});
		
		Button btnYes = (Button)findViewById(R.id.yesDetail);  
		btnYes.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View arg0) {
				Intent myIntent = new Intent(getBaseContext(), CameraDefectActivity.class);
				startActivity(myIntent);
				finish();
			}
		});
	}
}
